﻿using System;
using System.Collections.Generic;

namespace MyPCTagging.Web
{
    /***************************/
    /* Used in DatabaseService */
    /***************************/ 

    public struct DeviceNode
    {
        public int id;
        public String name;
        public DeviceNodeType type;
        public List<DeviceNode> children;
    }

    public enum DeviceNodeType: uint
    {
        Group, Device
    }

    /***************************/
    /* Used in LocationService */
    /***************************/

    public class Location
    {
        public double latitude;
        public double longitude;
    }
}
